package com.edu.bean;/*
 *@Autor:yjy
 *@Date:2025/10/11:16:21:
 *
 */

public class Score {
    private int scoreId;
    private int studentId;
    private int courseId;
    private Double score;
    private Student student; // 关联的学生信息
    private Course course;

    public int getScoreId() {
        return scoreId;
    }

    public void setScoreId(int scoreId) {
        this.scoreId = scoreId;
    }

    public int getStudentId() {
        return studentId;
    }

    public void setStudentId(int studentId) {
        this.studentId = studentId;
    }

    public int getCourseId() {
        return courseId;
    }

    public void setCourseId(int courseId) {
        this.courseId = courseId;
    }

    public Double getScore() {
        return score;
    }

    public void setScore(Double score) {
        this.score = score;
    }

    public Student getStudent() {
        return student;
    }

    public void setStudent(Student student) {
        this.student = student;
    }

    public Course getCourse() {
        return course;
    }

    public void setCourse(Course course) {
        this.course = course;
    }

    @Override
    public String toString() {
        return "Score{" +
                "scoreId=" + scoreId +
                ", studentId=" + studentId +
                ", courseId=" + courseId +
                ", score=" + score +
                ", student=" + student +
                ", course=" + course +
                '}';
    }
}
